package com.maixy.paydemo.common;

/**
 * @ClassName Contans
 * @Description TODO
 * @Date 2021/4/21 14:31
 * @Author maixy
 */
public class Constant {
    public final static String APP_ID = "2016101600698555";//沙箱支付宝环境发起支付请求的应用ID
    //生成的应用私钥
    public final static String APP_PRIVATE_KEY = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCkNKtltxfnxGv9VuriQLnbuwecGTNQFrJoXvb/E20Odv9UmLqju9ooyn8RReHr0xPq7Sxz5izEQJEEUriLUNKP7+SS63eJ3nBkp7rykCYk8VGoOhm1E/EhqCG6OO+puehXbpGEiOzVGDi6nIZOVkRJcQzEH2mSAXL4t1pJghni/x9ggxdK6n5A4M40ICMkE52xTWm3VbsI/R/ScHz+uu3fg+IylkNmTpG6a9Jm+YZ65XiJb+qrWLEaWGL+hCF9UETzNaa2hUj+zQzi5UOtHVd6GF309SIuBqOLYd9PIvdgLRvK5pGdcv5Yxhxc3hJpqyfAaLft0DvQVW1tGTRbiK7tAgMBAAECggEBAJDF0xvBurTfy+o3mK1ULclZ85Kf8Uq6SB+XIqOvx+YJ6oH2ig9TzztJlZBwEYjut8/XveqNVIjO+ExcdlJ2Nr8q3VbffawzTtqfu0ai6s6FaN4uI34wD9gBuYLLMhptSzjSxj+YzV3vlgyJdixZCKnLn1rG6zgMSQaZ+WN37kTgClEEv75DACzLwKItyOjj17J2E7WQ0uH3bUmGaoAu2wXt3BtrtxGyHDIN/XquflVWWerEG7Gn4P3V7ECLe9M4sjvHwGWrFOD/VzaSvVBJXWT1yTgq3RKkMr32iy0lBLwaK+ZDgy/T2mG1y6v9LplpBVhaw7zXTkL8nZqAUa9IhE0CgYEA1H7NvUOqbNxu2S75fPM2iko7F33PiHLwCJNsyph4duBWjYVeoR6k+3jS5qMuNV7I0DZb8/0SKnh2/dNf05F/OTDa+uXxESMlwCA1EFNEuFvlah/iX0YV1EazUBvRuWf8NOAhxNqhcoHERNJS+PEQjDQZDsBT97bBg1RSDtqt3M8CgYEAxdLvzx0aTNwXesF37T17mObabw9kWvQcGIpCYlwCn+DPkCMuRkPY012enJ+1LW1Y0qhbR5iv/Lhms0ozcRwTcbQR+7Q+YPtV0BBXngLgXzgzcqkgZuCdpaSPwNrNs01vR4Jmy6N6EtJ0za8pio2aE7hMAnsktsmARpefxYkaf4MCgYEAmNAf8M3qj6LubG1lqb/WJxk+6aPmTUAq8l/iysdfSk4GsHuLE99P0jCPqqELKAJj86hD9HC4UaaUG/GYZjOqBFzn/arC9AoMqd//iR/4uYQMtYb8anuiUygM570501W+f9/3KPP5SrmbhcqjNLdXqRwGMR+KwwfAnktTP69vfO0CgYEAgcr3KoWmtt0EzrbXL6HSUSzODmYj6wUU1gkIqy5BTpKavLBIcTOctHlNUuf6YHbI+1YYpa4JcZ+vSl0ZyVGpdEW4MtQ8xTbCQ8QlKHgsrGzcXJOYvccLyB1jcB5fLhBVPa7SMTPuKSFKH5WYhN6JQ/z8afhPy1oDvs1Gt71P1G8CgYA7DiCwQCyVn3WdliuUxU8Sm5SPbqN6R1fiD1qiDgA4MzH5bsniahwT0dHQJwalU3X9gFVkt9UFcfJ7dBzbV5ieByCYNYLbCWIbAOu4cX5fyHzAJopcgKw/I/aBixCZMaN8MnVuGdGlQz80FefWcV55r99c0EznfGXOO7euzwPvjg==";//生成的应用私钥
    //支付宝公钥
    public final static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA820YXmjXiH7VAC2mNG86ICdtlh7EspykKmvITZVbkG/t2m7skeeDVan0QbUqqS4HvRCDhywdV6ijXYetM2PttH4bjI1BQkPTQ+cVCD5qrg7EImzVy//ELv8zwI+AcLJRECRpUcUOuSK+ZizvzfRB7O8JnWn92pPt8Kiffy01GIp0Edj4yGjPqY0zxlHatKUb4Ghca28ucPdF/T6Nvg0bTwbjPmzHj/YRrDNZKSSGoff8WKN9ubnqmGaWobsgPcJLSw7h+aGLvc3MZYbEJK75uZIJVD8tHsON7HkpJtZ31DGglJWkqnlESyIPyoaw/hlqz1BXb/UBEJyh5jtysHYYzwIDAQAB";//支付宝公钥
    //这是沙箱接口路径,正式路径为https://openapi.alipay.com/gateway.do
    public final static String GATEWAY_URL ="https://openapi.alipaydev.com/gateway.do";//沙箱请求网关地址
    public final static String CHARSET = "UTF-8";// 编码
    public final static String FORMAT = "JSON";// 返回格式
    public final static String SIGN_TYPE = "RSA2";// 签名方式RSA2
    //支付宝服务器异步通知页面路径,付款完毕后会异步调用本项目的方法,必须为公网地址
    public final static String NOTIFY_URL = "http://www.baidu.com";
    //支付宝同步通知路径,也就是当付款完毕后跳转本项目的页面,可以不是公网地址
    public final static String RETURN_URL = "http://www.baidu.com";
    //  public final static String RETURN_URL = "http://localhost:28089/alipay/alipayReturnNotice";//本地回调
    public final static int ALIPAY_TYPE = 1;//支付宝支  付类型为1 微信为2
}
